<?php use_helper("Highslide") ?>
<script type="text/javascript">
	hs.graphicsDir = 'pmHighslideJSPlugin/css/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.outlineType = 'rounded-white';
	hs.fadeInOut = true;
	hs.dimmingOpacity = 0.75;

	// define the restraining box
	hs.useBox = false;
	hs.width = 640;
	hs.height = 480;

	// Add the controlbar
	hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: 'fit',
		overlayOptions: {
			opacity: 1,
			position: 'bottom center',
			hideOnMouseOut: true
		}
	});

</script>
<h3><?php echo __('Фотогалерея')?></h3>

<br />If You want to send a messages or invite our girls to Videochat, you need to buy credits.<br /><br />

                                              <?php if ($gallery): ?>
											 <?php foreach ($gallery as $m): ?>
																								 <div style="float:left; padding: 10px">
													 <?php  echo highslide('/uploads/users/gallery/'.$m->getPhotoPath(), '/uploads/users/gallery/thumbnail/'.$m->getPhotoPath(), $options = array()) ?>
												
													 </div>
											 <?php endforeach ?>
											 <div class="clear"></div>
											<?php else: ?>
											<?php echo __('У пользователя нет фотогалерей')?>
											<?php endif ?>
                               

                                         